package svc

import (
	"mqtt/internal/config"
	"mqtt/internal/manager"
)

type ServiceContext struct {
	Config    config.Config
	ClientMgr *manager.ClientManager
}

func NewServiceContext(c config.Config, clientMgr *manager.ClientManager) *ServiceContext {
	return &ServiceContext{
		Config:    c,
		ClientMgr: clientMgr,
	}
}
